//
// Created by ole on 24-8-18.
//

#ifndef UTILS_H
#define UTILS_H
#include <sstream>
#include <string>
#include <thread>

struct Utils {
    static std::string getThreadId() {
        std::ostringstream oss;
        oss << std::this_thread::get_id();
        std::string s = oss.str();
        return s.substr(s.length() - 5, 5);
    }
};

#endif //UTILS_H
